package com.ysd.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ysd.entity.Product;
import com.ysd.mapper.ProductMapper;
import com.ysd.service.ProducrService;

@Service
public class ProductServiceImpl implements ProducrService {
@Autowired

private ProductMapper ProductMapper;
	
	@Override
	public Product getProduct(int id) {
		return ProductMapper.getProduct(id);
	}

}
